package com.example.demo01.Entity.webEntity;

public class NameValue {
    //attributes
    protected String name;
    protected Long value;
    //constructors
    public NameValue(){super();}
    public NameValue(String name, Long value){
        this.name=name;
        this.value=value;
    }
    //toString

    @Override
    public String toString() {
        return "NameValue{" +
                "name='" + name + '\'' +
                ", value=" + value +
                '}';
    }

    //setter
    public void setName(String name) { this.name = name; }
    public void setValue(Long value) { this.value = value; }
    //getter
    public String getName() { return name; }
    public Long getValue() { return value; }
}
